package com.linkage.admin.pojo;

public class UserRole {

	/**
	 * create table user_role
		(
		   id                   int(10) not null,
		   userid               int(10),
		   roleid               int(10),
		   primary key (id)
		);
	 */
	
	private int id;
	private int userid;
	private int roleid;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public int getRoleid() {
		return roleid;
	}
	public void setRoleid(int roleid) {
		this.roleid = roleid;
	}
	@Override
	public String toString() {
		return "UserRole [id=" + id + ", userid=" + userid + ", roleid="
				+ roleid + "]";
	}
	public UserRole(int id, int userid, int roleid) {
		super();
		this.id = id;
		this.userid = userid;
		this.roleid = roleid;
	}
	public UserRole() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
